package com.nursinghome.admin.service;

import com.nursinghome.bean.Holidays;
import com.nursinghome.exception.NurisingHomeException;

import java.util.List;

public interface HolidayService {
    //根据请假人查询请假纪律
    List<Holidays> selectByMname(String mname);
    //请假审批
    Boolean updateState(Integer state, Integer hid) throws NurisingHomeException;
    //查询所有的请假
    List<Holidays> selectAll(String mname);
    //根据id查询请假
    Holidays selectByHid(Integer hid);
}
